package org.simtube.gui;

import javax.swing.JLabel;

import org.simtube.query.QueryController;

public class InitThread extends Thread {
	
	private QueryController qc;
	private JLabel label;
	
	public InitThread(QueryController qc, JLabel label) {
		this.qc = qc;
		this.label = label; 
	}
	
	public void run() {
		label.setText("Initializing QueryController...");
		qc.init();
		label.setText("Initialization finished...");
		
	}
}
